// 定义flex布局与兼容性
.gz-flex {
    display: flex;
    display: -webkit-flex;
}

.gz-flex-list(@var: 1) {
    flex: @var;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
}

[v-cloak] {
    display: none;
}

html,
body {
    width: 100%;
    min-height: 100%;
    background: #e3e3e3;
}



.swiper-pagination-bullet {
    background: #fff;
    border: 1px #000 solid;
    opacity: .6;
}

.swiper-pagination-bullet-active {
    background: #FFFFFF;
    border: 1px #000 solid;
}

.gz-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    background: #05508a;
    padding-left: 10px;
    padding-right: 10px;
    .gz-flex;
    z-index: 99;
    .gz-header-back {
        .gz-flex-list(0 0 50px);
        padding-top: 12px;
        text-align: center;
        .chat_hed_icon {
            display: block;
            width: 20px;
            height: 20px;
            & img {
                width: 100%;
                height: auto;
            }
        }
    }
    .gz-text-center {
        .gz-flex-list(1);
        text-align: center;
        font-size: 18px;
        color: #FFFFFF;
        line-height: 44px;
    }
    .gz-text-right {
        .gz-flex-list(0 0 60px);
        text-align: right;
        padding-top: 8px;
    }
}
.swiper-container {
    width: 100%;
    height: 250px;
}

.swiper-slide {
    width: 100%;
    height:  250px;
    text-align: center;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    & img {
        width: 100%;
        height: auto;
    }
}
.rt-banner {
    position: relative;
    width: 100%;
    height: 320px;
    .rt_search {
//      position: absolute;
        width: 100%;
//      top: 20px;
//      left: 0;
        background:#fff;
        padding:10px 0;
        z-index: 9998;
        padding-left: 10%;
        padding-right: 10%;
        
        .searchbox {
            .gz-flex;
            width: 100%;
            height: 38px;
            z-index: 9999;
            background: rgba(0,0,0,0.8);
            border-radius: 38px;
            border: 1px solid #e3e3e3;
            & i {
                .gz-flex-list(0 0 38px);
                padding:6px 10px 10px;
                & img {
                    width: 100%;
                    height: 100%;
                }
            }
            & input {
                width: 100%;
                background: none;
                color: #FFFFFF;
            }
            & span {
                .gz-flex-list(0 0 50px);
                background: #05508a;
                color:#fff;
                font-size: 12px;
                line-height: 38px;
                 border-bottom-right-radius: 38px;
                 border-top-right-radius: 38px;
                 text-align: center;
            }
            
        }
    }
}

.rt-tab {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
    background: #FFFFFF;
    border-radius: 10px;
    & ul {
        .gz-flex;
        padding-top: 20px;
        padding-bottom: 20px;
        & li {
            .gz-flex-list(0 0 33.33%);
            text-align: center;
            & img {
                width: 39px;
                height: 39px;
            }
            & span {
                display: block;
                margin-top: 8px;
            }
        }
    }
}

.index-news {
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
    background: #FFFFFF;
    border-radius: 10px;
    .gz-flex;
    padding-left: 20px;
    padding-right: 20px;
    .newstitle {
        .gz-flex-list(0 0 40px);
        padding-top: 20px;
        padding-bottom: 20px;
        & span {
            display: block;
            text-align: center;
        }
        & samp {
            display: block;
            text-align: center;
            background: #05508a;
            color: #FFFFFF;
            border-radius: 3px;
        }
    }
    .newscon {
        padding-top: 15px;
        padding-bottom: 10px;
        margin-left: 10px;
        border-left: 1px solid #000000;
        padding-left: 10px;
        width: 100%;
        overflow: hidden;
        & ul {
            width: 100%;
            & li {
                width: 100%;
                margin-bottom: 5px;
                & span {
                    display: block;
                    height: 26px;
                    line-height: 26px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    & em {
                        border: 1px solid #05508a;
                        color: #05508a;
                        font-size: 12px;
                        font-style: inherit;
                        padding: 3px 5px;
                        border-radius: 3px;
                    }
                }
            }
        }
    }
}

.titleh3 {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    .gz-flex;
    .titleh3-l {
        .gz-flex-list(1);
        text-align: left;
        color: #05508a;
        font-weight: bolder;
//      border-left: 3px solid #05508a;
        padding-left: 5px;
    }
    .titleh3-r {
        .gz-flex-list(1);
        text-align: right;
        color: #000;
    }
}

.indextjshop {
    margin-left: 15px;
    margin-right: 15px;
    padding-bottom: 20px;
    background: #FFFFFF;
    border-radius: 5px;
    & ul {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        & li {
            .gz-flex;
            border-bottom: 1px solid #000000;
            padding-top: 20px;
            padding-bottom: 20px;
            .shopimg {
                .gz-flex-list(0 0 93px);
                height: 93px;
                & img {
                    width: 100%;
                    height: 100%;
                }
            }
            .shopcom {
                .gz-flex-list(1);
                margin-left: 20px;
                overflow: hidden;
                .title {
                    font-size: 16px;
                    font-weight: 700;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .info {
                    font-size: 14px;
                    color: #898785;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .price {
                    .gz-flex;
                    .price-l {
                        .gz-flex-list(1);
                        & em {
                            font-size: 12px;
                            color: #DC4A3A;
                            font-style: inherit;
                        }
                        & span {
                            font-size: 24px;
                            color: #DC4A3A;
                        }
                    }
                    .price-r {
                        .gz-flex-list(1);
                        padding-top: 5px;
                        text-align: right;
                        & img {
                            width: 17px;
                            height: 17px;
                        }
                    }
                }
            }
        }
    }
}

.porlist {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    & ul {
        .gz-flex;
        flex-wrap: wrap;
        & li {
            .gz-flex-list(0 0 50%);
            padding-left: 5px;
            padding-right: 5px;
            margin-bottom: 10px;
            .probody {
                padding: 10px;
                background: #FFFFFF;
                border-radius: 5px;
                & img {
                    width: 100%;
                    height: 130px;
                }
                .procon {
                    width: 100%;
                    .title {
                        .gz-flex;
                        .tspan {
                            .gz-flex-list(1);
                            overflow: hidden;
                            & span {
                                display: block;
                                width: 100px;
                                font-size: 14px;
                                font-weight: 700;
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                            }
                        }
                        & em {
                            display: inline-block;
                            color: #DC4A3A;
                            font-weight: 700;
                            font-style: inherit;
                        }
                    }
                    .info {
                        width: 100%;
                        height: 38px;
                        font-size: 12px;
                        color: #898785;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }
                }
            }
        }
    }
}

.classifybody {
    width: 100%;
    position: absolute;
    top: 44px;
    left: 0;
    bottom: 0;
    .classiftab {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #343434;
        & ul {
            .gz-flex;
            & li {
                .gz-flex-list(1);
                padding-left: 5px;
                padding-right: 5px;
                & span {
                    display: block;
                    width: 100%;
                    text-align: center;
                    line-height: 26px;
                    border-radius: 30px;
                    color: #000;
                    border: 1px solid #05508a;
                }
                .onclick {
                    background: #05508a;
                    color: #fff;
                }
            }
        }
    }
    .typebox {
        position: absolute;
        display: flex;
        top: 50px;
        left: 0;
        bottom: 0;
        .typenav {
            height: 100%;
            .gz-flex-list(0 0 85px);
            border-right: 1px solid #343434;
            overflow-y: scroll;
            & ul {
                & li {
                    padding-left: 5px;
                    padding-right: 5px;
                    margin-top: 10px;
                    & span {
                        display: block;
                        width: 100%;
                        text-align: center;
                        line-height: 26px;
                        border-radius: 30px;
                        color: #000;
                        border: 1px solid #05508a;
                        color: 12px;
                    }
                    .onclick {
                        background: #05508a;
                        color: #fff;
                    }
                }
            }
        }
        .typebody {
            height: 100%;
            .gz-flex-list(1);
            overflow-y: scroll;
            & ul {
                .gz-flex;
                flex-wrap: wrap;
                padding-left: 5px;
                padding-right: 5px;
                margin-top: 10px;
                & li {
                    .gz-flex-list(0 0 33.33%);
                    padding-left: 5px;
                    padding-right: 5px;
                    margin-bottom: 10px;
                    .listcon {
                        width: 100%;
                        & img {
                            width: 100%;
                            height: 100px;
                        }
                        & span {
                            display: block;
                            margin-top: 5px;
                            font-size: 12px;
                            text-align: center;
                            color: #000;
                        }
                    }
                }
            }
        }
    }
}

.gz-scroller {
    width: 100%;
    position: absolute;
    top: 44px;
    bottom: 0;
    left: 0;
}

.rt-ord {
    width: 100%;
    .ord-hed {
        width: 100%;
        height: 200px;
        background: url(../images/orderbg_m.png) 50% 50% no-repeat;
        background-size: auto 100%;
        text-align: center;
        padding-top: 20px;
        & img {
            width: 85px;
            height: 85px;
            border: 2px solid #FFFFFF;
            border-radius: 85px;
        }
        & h4 {
            margin-top: 10px;
            font-size: 19px;
            color: #FFFFFF;
        }
        & span {
            color: #FFBA00;
        }
    }
    .ord-body {
        padding-left: 10%;
        padding-right: 10%;
        padding-top: 30px;
    }
}

.shopview {
    width: 100%;
    .shoptitle {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #cecece;
        .title {
            font-size: 15px;
            color: #000;
        }
        .shopir {
            position: relative;
            & span {
                font-size: 30px;
                font-weight: 700;
                color: #DC4A3A;
            }
            & em {
                position: absolute;
                right: 0;
                bottom: 5px;
                font-style: inherit;
                color: #000;
                font-size: 12px;
            }
        }
    }
    .shopinfo {
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 20px;
        & img {
            width: 100% !important;
            height: auto !important;
        }
    }
}

.shoptabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 58px;
    background: #fff;
    padding-left: 15px;
    padding-right: 15px;
    .gz-flex;
    .tabbaricon {
        .gz-flex-list(0 0 80px);
        .gz-flex;
        .icon {
            .gz-flex-list(1);
            padding-top: 18px;
            text-align: center;
            & img {
                width: 20px;
                height: 20px;
            }
        }
    }
    .tabbarbut {
        .gz-flex-list(1);
        .gz-flex;
        padding-top: 4px;
        .but-l {
            .gz-flex-list(1);
            height: 50px;
            background: #05508a;
            color:#fff;
            line-height: 50px;
            font-size: 15px;
            border-top-left-radius: 50px;
            border-bottom-left-radius: 50px;
            text-align: center;
        }
        .but-r {
            margin-left: 10px;
            .gz-flex-list(1);
            height: 50px;
            background: #05508a;
            color:#fff;
            line-height: 50px;
            font-size: 15px;
            border-top-right-radius: 50px;
            border-bottom-right-radius: 50px;
            text-align: center;
        }
    }
}

.ordlistbox {
    width: 100%;
    .ordlist {
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        background: #ccc;
        margin-top: 10px;
        padding-right: 15px;
        padding-left: 15px;
        .ordststate {
            text-align: right;
            font-size: 12px;
            color: #000;
        }
        .proinfo {
            .gz-flex;
            padding-top: 10px;
            padding-bottom: 10px;
            .infoimg {
                .gz-flex-list(0 0 64px);
                height: 64px;
                background: #FFFFFF;
                & img {
                    width: 100%;
                    height: 64px;
                }
            }
            .protitle {
                .gz-flex-list(1);
                margin-left: 15px;
                color: #000;
                & span {
                    display: block;
                    margin-top: 4px;
                    color: #666666;
                    font-size: 12px;
                }
            }
        }
        .price {
            text-align: right;
            padding-bottom: 10px;
            font-size: 12px;
            border-bottom: 1px solid #959595;
            & span {
                color: #000;
                margin-left: 5px;
            }
            & em {
                color: #DC4A3A;
                font-weight: 700;
                font-style: inherit;
            }
        }
        .but {
            text-align: right;
            padding-top: 10px;
            & span {
                display: inline-block;
                border: 1px solid #05508a;
                color: #05508a;
                padding: 5px 20px 3px 20px;
                margin-left: 10px;
                border-radius: 40px;
            }
        }
    }
}

.shopcar {
    width: 100%;
    .shopcar-list {
        // .gz-flex;
        margin-top: 15px;
        padding-left: 15px;
        padding-right: 15px;
        background: #ccc;
        .listclick {
            .gz-flex-list(0 0 39px);
            .gz-flex;
            justify-content: center;
            align-items: center;
            & i {
                display: block;
                width: 15px;
                height: 15px;
                background: url(../images/click.png) 0 0 no-repeat;
                background-size: 100% 100%;
            }
        }
        .shopinfo {
            .gz-flex-list(1);
            background: #ccc;
            padding-top: 20px;
            padding-bottom: 20px;
            .gz-flex;
            padding-left: 10px;
            padding-right: 10px;
            .shopimg {
                .gz-flex-list(0 0 81px);
                height: 81px;
                background: #FFFFFF;
                & img {
                    width: 100%;
                    height: 81px;
                }
            }
            .shoptext {
                .gz-flex-list(1);
                margin-left: 10px;
                color: #000;
                .title {
                    font-size: 14px;
                }
                .pricebox {
                    position: relative;
                    .price {
                        font-size: 18px;
                        color: #DC4A3A;
                    }
                    .num {
                        position: absolute;
                        right: 0;
                        bottom: 3px;
                        width: 70px;
                        height: 20px;
                        background: #aaa;
                        .gz-flex;
                        & span {
                            .gz-flex-list(0 0 20px);
                            height: 20px;
                            line-height: 20px;
                            text-align: center;
                            font-size: 12px;
                        }
                        & samp {
                            .gz-flex-list(1);
                            line-height: 20px;
                            text-align: center;
                            background: #eee;
                        }
                    }
                }
            }
        }
        .butbox {
            border-top: 1px #959595 solid;
            text-align: right;
            padding-top: 10px;
            padding-bottom: 10px;
            & span {
                display: inline-block;
                padding: 5px 15px 5px 15px;
                border: 1px solid #05508a;
                color: #05508a;
                font-size: 12px;
                margin-left: 5px;
            }
        }
    }
}

.frombox {
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    .from-list {
        padding-top: 15px;
        padding-bottom: 15px;
        .gz-flex;
        border-bottom: 1px solid #343434;
        & span {
            .gz-flex-list(0 0 80px);
            color: #000;
        }
        & input {
            .gz-flex-list(1);
            background: none;
            color: #333;
            border: 0;
            &::placeholder{
                color:#999;
            }
        }
        
    }
    .from-but {
        padding-top: 30px;
        padding-left: 10%;
        padding-right: 10%;
        .but {
            width: 100%;
            height: 50px;
            line-height: 50px;
            background: #05508a;
            color: #fff;
            text-align: center;
            border-radius: 50px;
        }
    }
}

.kdgsbox {
    margin-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    background: #ccc;
    .kdglist {
        padding-top: 15px;
        padding-bottom: 15px;
        .gz-flex;
        .kdgimg {
            margin-top: 10px;
            .gz-flex-list(0 0 35px);
            height: 35px;
            & img {
                width: 100%;
                height: 100%;
            }
        }
        .kdgtext {
            .gz-flex-list(1);
            margin-left: 20px;
            & span {
                display: block;
                color: #05508a;
                margin-top: 5px;
            }
        }
        .kdgtexts {
            .gz-flex-list(1);
            margin-left: 20px;
            & span {
                display: block;
                color: #000;
                margin-top: 5px;
            }
        }
    }
    .bor {
        border-bottom: 1px dashed rgba(255, 255, 255, .4);
    }
}

.viewshop {
    margin-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    background: #ccc;
    .shangja {
        padding-top: 15px;
        padding-bottom: 15px;
        .gz-flex;
        font-size: 12px;
        .sjimg {
            .gz-flex-list(1);
            color: #000;
            line-height: 30px;
            & i {
                display: inline-block;
                width: 30px;
                height: 30px;
                & img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .sjid {
            .gz-flex-list(1);
            text-align: right;
            line-height: 30px;
            color: rgba(255, 255, 255, .5);
        }
    }
    .shopinfo {
        .gz-flex;
        border-bottom: 1px dashed rgba(255,255,255,0.4);
        .img {
            .gz-flex-list(0 0 60px);
            height: 60px;
            border-radius: 3px;
            & img {
                width: 100%;
                height: 100%;
                border-radius: 3px;
                background: #FFFFFF;
            }
        }
        .info {
            .gz-flex-list(1);
            
            margin-left: 10px;
            padding-bottom: 10px;
            .infotitle {
                .gz-flex;
                & span {
                    .gz-flex-list(1);
                    font-size: 14px;
                    color: #05508a;
                }
                & em{
                    .gz-flex-list(0 0 100px);
                    font-size: 14px;
                    color: #000;
                    text-align: right;
                    font-style: inherit;
                }
            }
            .numbox{
                .gz-flex;
                & span {
                    .gz-flex-list(1);
                    font-size: 14px;
                    color: rgba(255,255,255,.5);
                }
                & em{
                    .gz-flex-list(0 0 100px);
                    font-size: 14px;
                    color: #05508a;
                    text-align: right;
                    font-style: inherit;
                }
            }
            .ps{
                text-align: right;
                font-size: 16px;
                color: #000;
            }
        }
    }
    .totlemoney{
        text-align: right;
        color: #ed5c50;
        padding-top: 8px;
        padding-bottom: 10px;
    }
}
.viewordmsg{
    margin-top: 10px;
    background: #ccc;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    & span{
        display: block;
        color: #000;
        padding-top: 3px;
        padding-bottom: 3px;
    }
}
